<html xmlns="http://www.w3c.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:p="http://primefaces.org/ui"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets">

<h:body>

	<f:view>
		<ui:composition template="templates/masterLayout.xhtml">
			<ui:define name="leftSidebar">
				<ui:include src="sections/common/menu.xhtml" />
			</ui:define>
			<ui:define name="contentContainer">
				<h:panelGrid border="1" columns="3">
					<h:outputText value="sum buy"></h:outputText>
					<h:outputText value="sum sell"></h:outputText>
					<h:outputText value="total"></h:outputText>
					<h:outputText value="#{profitBean.profit.sumBuy}">
						<f:convertNumber pattern="#,###,##0"></f:convertNumber>
					</h:outputText>
					<h:outputText value="#{profitBean.profit.sumSell}">
						<f:convertNumber pattern="#,###,##0"></f:convertNumber>
					</h:outputText>
					<h:outputText value="#{profitBean.profit.total}">
						<f:convertNumber pattern="#,###,##0"></f:convertNumber>
					</h:outputText>
				</h:panelGrid>
			</ui:define>
		</ui:composition>
	</f:view>
</h:body>
</html>
